package com.dao;

import com.entity.system.UserAuthenticationTemp;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;
import java.util.Map;

public interface UserAuthenticationTempMapper {
    int deleteByPrimaryKey(@Param("id") Long id, @Param("createTime") Date createTime);

    int insert(UserAuthenticationTemp record);

    int insertSelective(UserAuthenticationTemp record);

    UserAuthenticationTemp selectByPrimaryKey(@Param("id") Long id);

    int updateByPrimaryKeySelective(UserAuthenticationTemp record);

    int updateByPrimaryKey(UserAuthenticationTemp record);

    List<UserAuthenticationTemp> findUserAuthenticationTempByMap(Map<String,Object> map);

    List<Long> findUserIdByMap(Map<String,Object> map);

    List<UserAuthenticationTemp> findByMapMerge(Map<String,Object> map);
}